package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 属性实体
 * @author zzh
 * @email 862583291@qq.com
 * @date 2019-1-16 18:51:40
 */
@TableName("nideshop_attribute")
@Data
public class AttributeVo implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //属性类别id
    private Integer attributeCategoryId;
    //属性名
    private String name;
    //当添加商品时,该属性的添加类别; 0为手功输入;1为选择输入;2为多行文本输入
    private Integer inputType;
    //即选择输入,则attr_name对应的值的取值就是该这字段值
    private String value;
    //排序
    private Integer sortOrder;
}
